home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20041116-20060924 / 000200_fdc@columbia.edu_Thu Nov 10 13:27:09 2005.msg < prev    next >
Internet Message Format  |  2006-09-27  |  3KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Rasdial
  5. Date: 10 Nov 2005 18:27:03 GMT
  6. Organization: Columbia University
  7. Lines: 42
  8. Message-ID: <slrndn747n.kf9.fdc@sesame.cc.columbia.edu>
  9. References: <1131644305.487949.290000@g43g2000cwa.googlegroups.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1131647223 10736 128.59.59.56 (10 Nov 2005 18:27:03 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 10 Nov 2005 18:27:03 GMT
  15. User-Agent: slrn/0.9.8.0 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15447
  17.  
  18. On 2005-11-10, malone <malonespam@cox.net> wrote:
  19. : There are times that I automate a connection to other servers using
  20. : Rasdial and the conenction is either busy or no carrier is detected or
  21. : what ever. I am looking for a way to capture its error state, examine
  22. : it in kermit and take appropriate actions.
  23. :
  24. : For example if the line is busy I want kermit to examine rasdials state
  25. : and not redial imediatly but rather redial after other scripts ran. If
  26. : the carrier was not detected I would want it to redial. and if it
  27. : continues not connecting I would want it to notify me.
  28. :
  29. : Is this possible?
  30. :
  31. : if it is not possible to grab this variable using Kermit, is there
  32. : another language like perl or java that could be used instead?
  33. :
  34. I don't think there is any way to do this in Windows.  As explained in the
  35. K95 FAQ:
  36.  
  37.   http://www.columbia.edu/kermit/k95faq.html#modems
  38.  
  39. (item "Can K95 dial my ISP?"):
  40.  
  41.   Because of Kermit 95's flexibility and programmability, many people ask us
  42.   if there is a way that Kermit 95 can be used to make Dial Up Networking
  43.   connections, in place of the standard Windows way. A variation on this
  44.   question is: since Kermit can make modem calls, can I use it to make dialed
  45.   connections to FTP servers? Unfortunately, the answer is no; Microsoft does
  46.   not provide a way to let an application make a connection to a PPP or SLIP
  47.   or FTP server (or Microsoft Windows Terminal Server) and then turn the
  48.   connection over to the TCP/IP (or other network protocol) stack. The only
  49.   way in Windows 95/98/ME or NT/2000/XP to make a dialup networking connection
  50.   is with the built-in Dialup Networking dialer or (in Windows NT) RAS (see
  51.   notes about RAS HERE). OS/2, on the other hand, allows this and Kermit 95
  52.   for OS/2 has this feature for both PPP and SLIP.
  53.  
  54. This was written a long time ago but I'm not aware that anything has changed,
  55. nor am I aware of any way to access the state of the RAS dialer.  As noted,
  56. this could be done in OS/2 or, for that matter, most versions of Unix, such
  57. as Linux.
  58.  
  59. - Frank